<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2015/8/6
 * Time: 6:34
 */
?>
<table class="table">
    <tr>
        <td>音乐号</td>
        <td>音乐名</td>
        <td>播放</td>
        <td>操作</td>

    <tr>

        <?php for($i=0;$i<count($model);$i++)
        {?>
    <tr>
        <td>  <?= $model[$i]['id']?></td>
        <td>  <?= $model[$i]['name']?></td>
       <td><audio controls="controls" src=" <?= $model[$i]['music']?>">
        </audio></td>



        <td><a href='http://localhost/yii/web/index.php?r=admin/deletearticle&&id=<?= $model[$i]['id']?>'>删除</a></td>

    </tr>
    <?php }?>

</table>
